/**
 * 
 */
var myCtrl = angular.module("myApp.expense",[]);
myCtrl.controller('expenseController',["$rootScope","$scope","$filter", "expenseService","$state","LoadingData", function($rootScope,$scope,$filter,expenseService,$state,LoadingData){
	expenseService.queryExpenseInfo().success(function(result){
		$scope.count = result.data.count;
		$scope.sumAmount = result.data.sumAmount;
	})
	var param = {};
	$scope.data = new LoadingData("/expense/queryExpenseInfo/", param);
	
}])